home *** CD-ROM | disk | FTP | other *** search
/ Clickx 35 / Clickx 35.iso / assets / software / EC Architect / Acrobat / Data1.cab / PictureTasks.api / EXVW / 115 < prev   
Encoding:
Text File  |  2003-11-03  |  5.8 KB  |  158 lines

  1. gWidth = max(
  2.     zstring_width(zstring: '$$$/Dialogs/PrintDialog/Index'),
  3.     zstring_width(zstring: '$$$/Dialogs/PrintDialog/Wallet'));
  4. gPreviewHeight = 130;
  5. gPreviewWidth = 160;
  6. gClusterHeight = gPreviewHeight + 32;
  7. gPLabelWidth = zstring_width(zstring: '$$$/Dialogs/PrintDialog/PaperLabel');
  8. gBarHeight = 30;
  9.  
  10. dialog(name: '$$$/Dialogs/PackageDialog', target_id: 'pset')
  11. {
  12.     view(align_children: align_right)
  13.     {        
  14.         view(align_children: align_top, alignment: align_fill)
  15.         {            
  16.             group(align_children: align_left)
  17.             {
  18.                 cluster(name: '$$$/Dialogs/PackageDialog/PageSize', align_children: align_left)
  19.                 {                
  20.                     popup(item_id: 'pspp', width: 140);                                
  21.                 }
  22.  
  23.                 cluster(item_id: 'grpa', name: '$$$/Dialogs/PackageDialog/PackageOptions', align_children: align_left)
  24.                 {
  25.                     
  26.                         view (align_children: align_row)
  27.                         {
  28.                             radio(item_id: 'rlr0', width: 5);
  29.                             picture(item_id: 'plr0', width: 19, height: 22);
  30.                             static_text(item_id: 'tlr0', name: '$$$/Dialogs/PackageDialog/Letter0');
  31.                         }                    
  32.                         view (align_children: align_row)
  33.                         {
  34.                             radio(item_id: 'rlr1', width: 5);
  35.                             picture(item_id: 'plr1', width: 19, height: 22);
  36.                             static_text(item_id: 'tlr1', name: '$$$/Dialogs/PackageDialog/Letter1');
  37.                         }        
  38.                         view (align_children: align_row)
  39.                         {
  40.                             radio(item_id: 'rlr2', width: 5);
  41.                             picture(item_id: 'plr2', width: 19, height: 22);
  42.                             static_text(item_id: 'tlr2', name: '$$$/Dialogs/PackageDialog/Letter2');
  43.                         }        
  44.                         view (align_children: align_row)
  45.                         {
  46.                             radio(item_id: 'rlr3', width: 5);
  47.                             picture(item_id: 'plr3', width: 19, height: 22);
  48.                             static_text(item_id: 'tlr3', name: '$$$/Dialogs/PackageDialog/Letter3');
  49.                         }        
  50.                         view (align_children: align_row)
  51.                         {
  52.                             radio(item_id: 'rlr4', width: 5);
  53.                             picture(item_id: 'plr4', width: 19, height: 22);
  54.                             static_text(item_id: 'tlr4', name: '$$$/Dialogs/PackageDialog/Letter4');
  55.                         }        
  56.                         view (align_children: align_row)
  57.                         {
  58.                             radio(item_id: 'rlr5', width: 5);
  59.                             picture(item_id: 'plr5', width: 19, height: 22);
  60.                             static_text(item_id: 'tlr5', name: '$$$/Dialogs/PackageDialog/Letter5');
  61.                         }        
  62.                         view (align_children: align_row)
  63.                         {
  64.                             radio(item_id: 'rlr6', width: 5);
  65.                             picture(item_id: 'plr6', width: 19, height: 22);
  66.                             static_text(item_id: 'tlr6', name: '$$$/Dialogs/PackageDialog/Letter6');
  67.                         }        
  68.                         view (align_children: align_row)
  69.                         {
  70.                             radio(item_id: 'rlr7', width: 5);
  71.                             picture(item_id: 'plr7', width: 19, height: 22);
  72.                             static_text(item_id: 'tlr7', name: '$$$/Dialogs/PackageDialog/Letter7');
  73.                         }        
  74.                 
  75.                         view (align_children: align_row)
  76.                         {
  77.                             radio(item_id: 'ra40', width: 5);
  78.                             picture(item_id: 'pa40', width: 19, height: 22);
  79.                             static_text(item_id: 'ta40', name: '$$$/Dialogs/PackageDialog/A40');
  80.                         }                    
  81.                         view (align_children: align_row)
  82.                         {
  83.                             radio(item_id: 'ra41', width: 5);
  84.                             picture(item_id: 'pa41', width: 19, height: 22);
  85.                             static_text(item_id: 'ta41', name: '$$$/Dialogs/PackageDialog/A41');
  86.                         }        
  87.                         view (align_children: align_row)
  88.                         {
  89.                             radio(item_id: 'ra42', width: 5);
  90.                             picture(item_id: 'pa42', width: 19, height: 22);
  91.                             static_text(item_id: 'ta42', name: '$$$/Dialogs/PackageDialog/A42');
  92.                         }        
  93.                         view (align_children: align_row)
  94.                         {
  95.                             radio(item_id: 'ra43', width: 5);
  96.                             picture(item_id: 'pa43', width: 19, height: 22);
  97.                             static_text(item_id: 'ta43', name: '$$$/Dialogs/PackageDialog/A43');
  98.                         }                                
  99.                 
  100.                         view (align_children: align_row)
  101.                         {
  102.                             radio(item_id: 'rtb0', width: 5);
  103.                             picture(item_id: 'ptb0', width: 19, height: 22);
  104.                             static_text(item_id: 'ttb0', name: '$$$/Dialogs/PackageDialog/Tabloid0');
  105.                         }                    
  106.                         view (align_children: align_row)
  107.                         {
  108.                             radio(item_id: 'rtb1', width: 5);
  109.                             picture(item_id: 'ptb1', width: 19, height: 22);
  110.                             static_text(item_id: 'ttb1', name: '$$$/Dialogs/PackageDialog/Tabloid1');
  111.                         }        
  112.                         view (align_children: align_row)
  113.                         {
  114.                             radio(item_id: 'rtb2', width: 5);
  115.                             picture(item_id: 'ptb2', width: 19, height: 22);
  116.                             static_text(item_id: 'ttb2', name: '$$$/Dialogs/PackageDialog/Tabloid2');
  117.                         }        
  118.                         view (align_children: align_row)
  119.                         {
  120.                             radio(item_id: 'rtb3', width: 5);
  121.                             picture(item_id: 'ptb3', width: 19, height: 22);
  122.                             static_text(item_id: 'ttb3', name: '$$$/Dialogs/PackageDialog/Tabloid3');
  123.                         }                                
  124.                     
  125.                                                                                                                                                         
  126.                 }                
  127.             }
  128.             cluster(item_id: 'grpb', name: '$$$/Dialogs/PackageDialog/PreviewCluster', align_children: align_center, height: gClusterHeight)
  129.             {
  130.                 view(align_children: align_row)
  131.                 {
  132.                     button(item_id: 'wicn', picture: true, width: 12, height: 12);
  133.                     static_text(item_id: 'warn', name: '$$$/Dialogs/PrintDialog/UseEachPhoto', width: 200, height: 40);
  134.                 }
  135.  
  136.                 gap(height: 2);
  137.  
  138.                 view(align_children: align_center)
  139.                 {
  140.                     picture(item_id: 'slhr', width: 200, height: gPreviewHeight * 2 + 25);
  141.                 }
  142.                 gap(height: 23);
  143.                 view(align_children: align_row)
  144.                 {
  145.                     button(item_id: 'prpg', name: '$$$/Dialogs/PrintDialog/PrevPage', picture: true, next_tab: 'nxpg', alignment: align_left, width: 20, height: 20);    
  146.                     static_text(item_id: 'pgnb', name: '$$$/Dialogs/PrintDialog/PageNo', width: 100, alignment: align_center);        
  147.                     button(item_id: 'nxpg', name: '$$$/Dialogs/PrintDialog/NextPage', picture: true, next_tab: 'prvs', alignment: align_right, width: 20, height: 20);            
  148.                 }
  149.             }
  150.           
  151.         }
  152.         view(align_children: align_row)
  153.         {                
  154.             ok_cancel(ok_name: '$$$/Dialogs/PackageDialog/Ok');            
  155.         }
  156.     }
  157. }
  158.